package com.hhqk.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.hhqk.mapper.UserMapper;
import com.hhqk.model.User;
import com.hhqk.service.impl.IUserService;


/**
 * @ClassName:
 * @version 1.0
 * @Desc: 
 * @author:ghq
 * @date 2017年2月28日下午5:32:37
 * @history v1.0
 */
@Service
public class UserService implements IUserService{
	
	@Autowired
	private UserMapper userMapper;
	
	/**
	 * @param username
	 * @return
	 */
	public User findUserByUsername(String username) {
		return userMapper.findUserByUsername(username);
	}

}
